package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 11/12/14.
 */
public class myoffensiveplay2  extends NXTThread {

    public myoffensiveplay2() {
        setNXTThreadName("the pink pearl");
    }

    public void run() {
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 100);
        wait(2500);
        runMotor(PORT_B, 100);
        runMotor(PORT_A, -50);
        wait(750);
        runMotor(PORT_A, 100);
        runMotor(PORT_B,100);
        wait(2500);
        stopMotor(PORT_B);
        stopMotor(PORT_A);
        reset();
    }


}
